<nav class="navbar fixed-top navbar-expand-lg com-nav">
  <a class="navbar-brand" href="<%=resolve==''?'./': resolve+'../'+htmlWebpackPlugin.options.lang%>">
    <img src="<%=resolve%>../static/img/icon/MathWallet_Logo.png" height="48">
  </a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#toggleNav">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse justify-content-end" id="toggleNav">
    <div class="collapse-close d-lg-none" data-toggle="collapse" data-target="#toggleNav">×</div>
    <ul class="navbar-nav">
      <li class="d-lg-none">
        <a href="<%=resolve==''?'./': resolve%>">
          <%=htmlWebpackPlugin.options.i18n.home%>
        </a>
      </li>
      <li class="nav-item dropdown">
        <a href="javascript:;" class="dropdown-toggle" id="navbarDropdown" data-toggle="dropdown">
          <%=htmlWebpackPlugin.options.i18n.submissions%>
        </a>
        <div class="dropdown-menu" aria-labelledby="navbarDropdown">
          <a class="dropdown-item" target="_blank" href="https://www.wangyanan.online/#/">
            <%=htmlWebpackPlugin.options.i18n.submissions_dapp%>
          </a>
          <a class="dropdown-item" target="_blank" href="https://www.wangyanan.online/#/">
            <%=htmlWebpackPlugin.options.i18n.submissions_token%>
          </a>
        </div>
      </li>
      <li>
        <a href="https://www.wangyanan.online/#/" target="_blank">
          <%=htmlWebpackPlugin.options.i18n.browser%>
        </a>
      </li>
      <li class="nav-item dropdown">
        <a href="javascript:;" class="dropdown-toggle" id="lang" data-toggle="dropdown">
          <%=htmlWebpackPlugin.options.i18n.lang%>
        </a>
        <div class="dropdown-menu" aria-labelledby="lang">
          <a class="dropdown-item" href="<%=resolve%>../<%=path==''?'':path+'/'%>cn/">🇨🇳 简体中文</a>
          <a class="dropdown-item" href="<%=resolve%>../<%=path==''?'':path+'/'%>en/">🇺🇸 English</a>
          <a class="dropdown-item" href="<%=resolve%>../<%=path==''?'':path+'/'%>ko/">🇰🇷 한국어</a>
        </div>
      </li>
    </ul>
  </div>
</nav>